Skip to content

Comments

Add PathBase to logged uri. Update to .NET 5#4

Open
crystalgreen wants to merge 1 commit intonventive:masterfrom
crystalgreen:master
Open

Add PathBase to logged uri. Update to .NET 5#4
crystalgreen wants to merge 1 commit intonventive:masterfrom
crystalgreen:master

Conversation

@crystalgreen
Copy link

When hosted in IIS in a root path below the server root, or in a virtual directory, PathBase is set.
This was missing in the log before, showing a wrong uri.
See also stackoverflow.

GitHub Issue: #3

Proposed Changes

What is the current behavior?

See issue #3.

What is the new behavior?

See issue #3.

Checklist

Please check if your PR fulfills the following requirements:

  • Documentation has been added/updated
  • Automated Unit / Integration tests for the changes have been added/updated
  • Contains NO breaking changes
  • Updated the Changelog
  • Associated with an issue

When hosted in IIS in a root path below the server root,
or in a virtual directory, PathBase is set.
This was missing in the log before, showing a wrong uri.
See also https://stackoverflow.com/questions/58614864/whats-the-difference-between-httprequest-path-and-httprequest-pathbase-in-asp-n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant